﻿using System;
using System.Collections.Generic; 
namespace Comm.Model
{
	public class Orders
	{
        protected OrderBook _orderBook = new OrderBook();    
      	/// <summary>
		/// OrderId
        /// </summary>
        public string OrderId { get; set; }


        public OrderBook OrderModel
        {
            set { _orderBook = value; }
            get { return _orderBook; }

        }
		/// <summary>
		/// OrderDate
        /// </summary>
        public DateTime OrderDate { get; set; }
		/// <summary>
		/// UserId
        /// </summary>
        public int UserId { get; set; }
		/// <summary>
		/// TotalPrice
        /// </summary>
        public decimal TotalPrice { get; set; }
		/// <summary>
		/// PostAddress
        /// </summary>
        public string PostAddress { get; set; }
		/// <summary>
		/// state
        /// </summary>
        public int state { get; set; }

        List<OrderBook> orderlist = new List<OrderBook>();

        public List<OrderBook> OrdersList 
        {
            get { return orderlist; }
            set { orderlist = value; }
        }

        List<Orders> _orderlist = new List<Orders>();

        public List<Orders> OrdersList1
        {
            get { return _orderlist; }
            set { _orderlist = value; }
        }
        
	}
}

